package com.spread.beans;

import org.springframework.stereotype.Component;

import java.util.Date;

@Component
public class User {
    private Integer userId;

    private String userName;

    private Integer userType;

    private String userPhone;

    private String userWechatIndex;

    private Date userCreatTime;

    private Date userModifyTime;

    private String userPwd;

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone == null ? null : userPhone.trim();
    }

    public String getUserWechatIndex() {
        return userWechatIndex;
    }

    public void setUserWechatIndex(String userWechatIndex) {
        this.userWechatIndex = userWechatIndex == null ? null : userWechatIndex.trim();
    }

    public Date getUserCreatTime() {
        return userCreatTime;
    }

    public void setUserCreatTime(Date userCreatTime) {
        this.userCreatTime = userCreatTime;
    }

    public Date getUserModifyTime() {
        return userModifyTime;
    }

    public void setUserModifyTime(Date userModifyTime) {
        this.userModifyTime = userModifyTime;
    }
}